import React from 'react';
import { connect } from 'react-redux'

import Count from '../components/count';
import { increment, subtract } from '../redux/actions';

export default connect(
	(state) => ({
		count: state
	}),
	{ increment, subtract })
	(Count);